From 963785e3ee1eb58f9574170e79714c1329110e55 Mon Sep 17 00:00:00 2001 From: "emellor@leeni.uk.xensource.com" Date: Wed, 19 Oct 2005 11:53:00 +0100 Subject: [PATCH] Remove unused parameter from addControllerClass. This became unused when the BE_DOMAIN flags were removed. Signed-off-by: Ewan Mellor --- tools/python/xen/xend/XendDomainInfo.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tools/python/xen/xend/XendDomainInfo.py b/tools/python/xen/xend/XendDomainInfo.py index 59bd0f24a6..1e3d482a75 100644 --- a/tools/python/xen/xend/XendDomainInfo.py +++ b/tools/python/xen/xend/XendDomainInfo.py @@ -1392,7 +1392,7 @@ class XendDomainInfo: implements the device control specific to that device-class.""" controllerClasses = {} -def addControllerClass(device_class, backend_name, cls): +def addControllerClass(device_class, cls): """Register a subclass of DevController to handle the named device-class. """ cls.deviceClass = device_class @@ -1400,8 +1400,8 @@ def addControllerClass(device_class, backend_name, cls): from xen.xend.server import blkif, netif, tpmif, pciif, usbif -addControllerClass('vbd', 'blkif', blkif.BlkifController) -addControllerClass('vif', 'netif', netif.NetifController) -addControllerClass('vtpm', 'tpmif', tpmif.TPMifController) -addControllerClass('pci', 'pciif', pciif.PciController) -addControllerClass('usb', 'usbif', usbif.UsbifController) +addControllerClass('vbd', blkif.BlkifController) +addControllerClass('vif', netif.NetifController) +addControllerClass('vtpm', tpmif.TPMifController) +addControllerClass('pci', pciif.PciController) +addControllerClass('usb', usbif.UsbifController) -- 2.30.2